﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <!--公用样式，必须的 -->
    <link href="http://127.0.0.1/static/edk/asset/common.css" type="text/css" rel="stylesheet" />
    <script src="http://127.0.0.1/static/ext_ux/ext-core.js"></script>
    <script src="http://127.0.0.1/static/edk/edk.js"></script>

    <link href="transmenu.css" type="text/css" rel="stylesheet">

    <script src="transmenu.js"></script>

    <script language="javascript">
    function init() {
      if (TransMenu.isSupported()) {
        TransMenu.initialize();

      }
    }
    </script>

    <meta content="MSHTML 6.00.2900.3354" name="GENERATOR">
</head>
<body bgcolor="white" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
    <div id="banner">
    </div>
    <div id="content">
        <h1>
            TransMenus Demo</h1>
        <div id="wrap">
            <div id="menu">
                <a href="#">网站首页</a> <a id="zzjg" href="#">组织机构</a> <a id="ghxx" href="#">规划信息</a>
                <a id="ghjj" href="#">规划聚焦</a> <a id="zwgk" href="#">政务公开</a> <a id="zcfg" href="#">
                    政策法规</a> <a id="yggh" href="#">阳光规划</a> <a id="ggcy" href="#">公共参与</a> <a id="dzjs"
                        href="#">党政建设</a> <a id="ghyd" href="#">规划园地</a>
            </div>
        </div>
    </div>

    <script language="javascript">
    Ext.onReady(function(){
        var ms = new TransMenuSet(TransMenu.direction.down, 1, 0, TransMenu.reference.bottomLeft);
        var menu1 = ms.addMenu(document.getElementById("zzjg"));
        menu1.addItem("领导介绍", "");
        menu1.addItem("市局职能", "");
        menu1.addItem("机构设置", "");
        menu1.addItem("直属机构", "");
        menu1.addItem("联系方式", "");
        var submenu0 = menu1.addMenu(menu1.items[0]);
        submenu0.addItem("贵阳市市局", "#");
        submenu0.addItem("云岩区分局", "#");
        submenu0.addItem("南明区分局", "#");
        submenu0.addItem("乌当区分局", "#");
        submenu0.addItem("花溪区分局", "#");
        submenu0.addItem("白云区分局", "");    
        var submenu00 = submenu0.addMenu(submenu0.items[0]);
        submenu00.addItem("foo");
        submenu00.addItem("bar");    
        var submenu0 = menu1.addMenu(menu1.items[1]);
        submenu0.addItem("贵阳市市局", "#");
        submenu0.addItem("云岩区分局", "#");
        submenu0.addItem("南明区分局", "#");
        submenu0.addItem("乌当区分局", "#");
        submenu0.addItem("花溪区分局", "#");
        submenu0.addItem("白云区分局", "");
        var submenu00 = submenu0.addMenu(submenu0.items[0]);
        submenu00.addItem("foo");
        submenu00.addItem("bar");  
        var submenu0 = menu1.addMenu(menu1.items[2]);
        submenu0.addItem("贵阳市市局", "#");
        submenu0.addItem("云岩区分局", "#");
        submenu0.addItem("南明区分局", "#");
        submenu0.addItem("乌当区分局", "#");
        submenu0.addItem("花溪区分局", "#");
        submenu0.addItem("白云区分局", "");
        //==================================================================================================
        var menu2 = ms.addMenu(document.getElementById("ghxx"));
        menu2.addItem("工作动态", "#");
        menu2.addItem("图片新闻", "#");
        //==================================================================================================
        var menu3 = ms.addMenu(document.getElementById("ghjj"));
        menu3.addItem("总体规划","http://www.aeye.cn");
        menu3.addItem("详细规划","#");
        menu3.addItem("分区规划","#");
        menu3.addItem("专项规划","#");
        //==================================================================================================
        var menu4 = ms.addMenu(document.getElementById("zwgk"));
        menu4.addItem("审批公示", "#");
        menu4.addItem("服务指南", "#");
        menu4.addItem("文档下载", "#");
        menu4.addItem("申报须知", "#");
        //==================================================================================================
        var menu5 = ms.addMenu(document.getElementById("zcfg"));
        menu5.addItem("国家法规", "#");
        menu5.addItem("地方法规", "#");
        menu5.addItem("技术规范", "#");
        menu5.addItem("其他法规", "#");
        //==================================================================================================
        var menu6 = ms.addMenu(document.getElementById("yggh"));
        menu6.addItem("局办公会建设项目审批结果公示", "");
        menu6.addItem("办 证 结 果 公 示", "");    
        var submenu0 = menu6.addMenu(menu6.items[0]);
        submenu0.addItem("贵阳市市局", "#");
        submenu0.addItem("云岩区分局", "#");
        submenu0.addItem("南明区分局", "#");
        submenu0.addItem("乌当区分局", "#");
        submenu0.addItem("花溪区分局", "#");
        submenu0.addItem("白云区分局", "");    
        var submenu0 = menu6.addMenu(menu6.items[1]);
        submenu0.addItem("贵阳市市局", "#");
        submenu0.addItem("云岩区分局", "#");
        submenu0.addItem("南明区分局", "#");
        submenu0.addItem("乌当区分局", "#");
        submenu0.addItem("花溪区分局", "#");
        submenu0.addItem("白云区分局", "");
        //==================================================================================================
        var menu7 = ms.addMenu(document.getElementById("ggcy"));
        menu7.addItem("局长信箱", "");
        menu7.addItem("纪风监督", "");
        menu7.addItem("违法举报", "");
        menu7.addItem("献策建言", "");
        var submenu0 = menu7.addMenu(menu7.items[0]);
        submenu0.addItem("贵阳市市局", "#");
        submenu0.addItem("云岩区分局", "#");
        submenu0.addItem("南明区分局", "#");
        submenu0.addItem("乌当区分局", "#");
        submenu0.addItem("花溪区分局", "#");
        submenu0.addItem("白云区分局", "");
        //==================================================================================================
        var menu9 = ms.addMenu(document.getElementById("ghyd"));
        menu9.addItem("电子地图", "#");
        menu9.addItem("城市风采", "#");
        TransMenu.renderAll();
        TransMenu.initialize();
    });
    </script>

</body>
</html>
